package cn.tedu.coolshark01.product.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Product {
    @ApiModelProperty(value = "商品id",required = true)
    private Long id;
    @ApiModelProperty(value = "商品名称",required = true)
    private String title;
    @ApiModelProperty(value = "商品价格",required = true)
    private Double price;
    @ApiModelProperty(value = "商品原价",required = true)
    private Double oldPrice;
    @ApiModelProperty(value = "商品销量",required = true)
    private Integer sales;
}
